package com.briup.mybatis02code.mapper;

import com.briup.mybatis02code.entity.Category;
import com.briup.mybatis02code.entity.ex.CategoryExtend;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

import java.util.List;

@Mapper
@Component
public interface CategoryMapper {

    Category findById(Integer id);

    CategoryExtend findById2(Integer id);

    CategoryExtend findById3(Integer id);

    List<Category >  findByParentId(Integer parentId);
}
